VCO Sound Generator

This project is a simple sound generator that utilizes the voltage controlled oscillator portion of a CMOS CD4046 phase locked loop. By using different waveforms to modulate the voltage input of the VCO, many unique “outer space” type or siren type sounds can be created.

CD4046 PHASE LOCKED LOOP OPERATION

Normally,the 4046 phase locked loop integrated circuit is used to lock on to an input signal, multiply it or divide it by some factor or can also be used for tone decoding and signal conditioning.

The VCO portion of the phase locked loop provides an output that is routed either directly to the phase detector or to a divide by “n” counter. The phase detector is used to compare the output from the VCO or the divide by “n” counter and the input signal frequency.

The 4046 phase detector develops an output voltage that represents the phase error between the input signal frequency and the divided or undivided frequency from the VCO. This error signal is routed to a loop filter that is used to control the frequency of the voltage controlled oscillator. This loop filter to VCO connection is what forces the VCO to follow or track the input signal (closed loop operation).

CD4046 VOLTAGE CONTROLLED OSCILLATOR OPERATION

The voltage controlled oscillator that is part of the 4046 phase locked loop is very versatile and can be operated from sub-audio frequencies to greater than 1 MHz. The center of the frequency range is set by a single capacitor C1 at pins 6 and 7. The maximum VCO frequency is set by a 10K to 10M resistor connected to R1 (Pin 11) to ground. Using just capacitor C1 and R1 will provide the greatest sweep in frequency range, up to 1000 to 1.

In order to use a more limited frequency range, an additional resistor can be installed at R2 (Pin 12) to ground.  Adding resistor R2 (using a value normally greater than that at R1) will provide a frequency offset and raises both the minimum and maximum frequency in proportion to its size relative to resistor R1.

SOUND GENERATOR LOW FREQUENCY OSCILLATOR

A low frequency oscillator is used to provide a way to modulate the voltage controlled oscillator input with either a square wave or a pseudo – triangle waveform. The LFO is based on a ICM7555 CMOS timer. The ICM7555 is a low power version of the well known 555 timer.

In order to provide a square wave that has a 50% duty cycle over a wide frequency range, a transistor and diode were added to the two resistors and single capacitor that is normally part of the timer RC network.

When the timer’s output (Pin 3) is high, the 2N2222 transistor is biased into saturation by the 1.5K resistor so that the capacitor charging current has to pass through the transistor, 50K potentiometer and the 330 ohm resistor. When the timer output goes low, the timer’s internal discharge transistor (Pin 7) cuts off the transistor and discharges the capacitor through the 330 ohm resistor, 50K pot and the 1N4148 diode. Since the impedance of both paths is equal, the high and low periods of the timer output is also equal (or very nearly so).

Two different capacitors can be selected by switch SW1 in order to provide two LFO frequency ranges of 0.6Hz to 94Hz and 1.4Hz to 220 Hz. The 50K potentiometer  is used to adjust the frequency within each range. The LFO’s square wave output is fixed at 8 volts peak to peak at nearly 50% duty cycle (Pin3). A red LED provides a visual indication of the output frequency.

A pseudo-triangle wave form is derived from the capacitor charging voltage at the timers THRESHOLD (Pin 6). Since the charging voltage is a high impedance source, a LMC6482 rail to rail op-amp is used to prevent loading the source at the timers threshold pin.  The op-amp also allows the switch selection (SW8, VCO DEPTH) of two different  pseudo-triangle peak to peak output voltages, 3V P/P and 8V P/P. This affects the minimum and maximum frequency range at the VCO output.

SOUND GENERATOR VOLTAGE CONTROLLED OSCILLATOR

The voltage controlled oscillator can be configured to output a number of different sounds depending upon the capacitor and VCO switch selection chosen. A jumper that is in line with the VCO output can be used to interface with an external voltage controlled amplifier or filter.

The switch descriptions are as follows:

SW2: Controls the VCO inhibit pin. Used to pulse the VCO output on and off.

SW3: Connects a variable resistance to R2. Used to create two tone sounds.

SW4: Selects either a square wave or triangle wave (LFO) to the VCO input.

SW5: Selects either a variable voltage or the output from the LFO to the VCO input.

SW6: Selects one of four different VCO output frequencies (VCO capacitor).

OUTPUT AMPLIFIER

The output amplifier is an LM386 low voltage audio power amplifier. The amplifier is a standard design with a gain of 20X. A 50K potentiometer is provided to control the output volume. A jumper that is in line with the amplifier output can be used to control the output speaker. Any 8 to 16 ohm speaker will work.

VCO SOUND GENERATOR SCHEMATIC PDF

SOUND GENERATOR SCHEMATIC

 

LFO SQUARE WAVE AND TRIANGLE WAVE OUTPUT

 

VCO OUTPUT WITH TRIANGLE WAVE MODULATION

 

VCO OUTPUT WITH SQUARE WAVE MODULATION

 

INHIBIT INPUT CONTROLLED BY SQUARE WAVE MODULATION

 

 

 REFERENCES

1. Lancaster, Don. CMOS Cookbook. 2nd edition. Howard W. Sams & Co. Chapter Four

 

Leave a Reply

Your email address will not be published. Required fields are marked *